public class Work1 {
    public static void main(String[] args) {
        double paperThickness = 0.1 ;
            double everestHeight = 8849 ;
            double foldedPaperHeight = paperThickness*Math.pow(2, 30);
            int numberOfFolds = (int)(Math.log(everestHeight/paperThickness)/Math.log(2));
            System.out.printf("需要折叠 %d 次%n",numberOfFolds);
    }
    
}